package com.soulkun.smarthome.logic.service

import com.soulkun.smarthome.logic.model.DeviceModel
import com.soulkun.smarthome.logic.model.ResponseModel
import com.soulkun.smarthome.logic.model.RoomModel
import okhttp3.RequestBody
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST

interface ApiRoomService {

    @Headers("Ignore-Token: false", "Anti-Replay: true")
    @POST("/room/name/modify")
    fun modifyRoomName(@Body requestBody: RoomModel): Call<ResponseModel<Any>>

    @Headers("Ignore-Token: false", "Anti-Replay: true")
    @POST("/room/add")
    fun addRoom(@Body requestBody: RoomModel): Call<ResponseModel<RoomModel>>

    @Headers("Ignore-Token: false", "Anti-Replay: true")
    @POST("/room/delete")
    fun deleteRoom(@Body requestBody: RoomModel): Call<ResponseModel<Any>>


}